package com.own.demo.constants;

/**
 * redis常量
 *
 * @author heguanglong
 * @date 2021-03-23 11:13:27
 */
public interface RedisConstants {

    /**
     * 终端缓存失效时间7天
     */
    int DEVICE_EXP_TIME_OUT = 10;

    int DEVICE_EXP_TIME_OUT_TEMP = 60;

    /**
     *  围栏位置判断 rtree失效时间 单位天
     */
    int GEO_FENCE_RTREE_EXP_TIME_OUT_TIME =2;

    /**
     * 终端id KEY
     */
    String ENTITY_KEY = "ENTITY_KEY";

    String REDIS_LOCK_INFO="redisLocke:";

    /**
     * 围栏tree
     */
    String REDIS_FENCE_RTREE_GEO ="geoRtree:";
}
